<div class="navbar main">
	<a href="index.html?lang=en" class="appbrand"><span>Carmin+ <span>connecting your car</span></span></a>
	<button type="button" class="btn btn-navbar">
		<span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
	</button>
	
	<ul class="topnav pull-right">
	<li class="visible-desktop">
		<ul class="notif">
			<li><a href="" class="glyphicons envelope" data-toggle="tooltip" data-placement="bottom" data-original-title="5 new messages"><i></i> 5</a></li>
			<li><a href="" class="glyphicons shopping_cart" data-toggle="tooltip" data-placement="bottom" data-original-title="1 new orders"><i></i> 1</a></li>
			<li><a href="" class="glyphicons log_book" data-toggle="tooltip" data-placement="bottom" data-original-title="3 new activities"><i></i> 3</a></li>
		</ul>
	</li>
		
	<!-- 
	<li class="dropdown visible-desktop">
		<a href="" data-toggle="dropdown" class="glyphicons cogwheel"><i></i>Dropdown <span class="caret"></span></a>
		<ul class="dropdown-menu pull-right">
			<li><a href="">Some option</a></li>
			<li><a href="">Some other option</a></li>
			<li><a href="">Other option</a></li>
		</ul>
	</li>
	-->

	<!-- Account -->
		<li class="account">
			<a data-toggle="dropdown" href="form_demo.html?lang=en" class="glyphicons logout lock"><span class="hidden-phone text"><?php echo $this->session->userdata['username']; ?></span><i></i></a>
			<ul class="dropdown-menu pull-right">
				<li><a href="form_demo.html?lang=en" class="glyphicons cogwheel">Settings<i></i></a></li>
				<li><a href="form_demo.html?lang=en" class="glyphicons camera">My Photos<i></i></a></li>
				<li class="highlight profile">
					<span>
						<span class="heading">Profile <a href="user_settings" class="pull-right">edit</a></span>
						<span class="img"></span>
						<span class="details">
							<a href="form_demo.html?lang=en"><?php echo $this->session->userdata['username']; ?></a>
							<?php echo (isset($this->session->userdata['user_email']) && $this->session->userdata['user_email'] != '') ? $this->session->userdata['user_email'] : ''; ?>
						</span>
						<span class="clearfix"></span>
					</span>
				</li>
				<li>
					<span>
						<a class="btn btn-default btn-small pull-right" style="padding: 2px 10px; background: #fff;" href="login.html?lang=en">Sign Out</a>
					</span>
				</li>
			</ul>
		</li>
	</ul>
</div> <!-- end navbar main -->